set title "2 GPGPUs and performance"
set ylabel "Time (ms)"
set xlabel "Input Size"
set yrange [0:60000]
set y2label "Speedup"
set y2tics 1
set y2range [0:2]
plot "m1block512.txt" with linespoints title "1 GPUGPU", \
"m4block512.txt" with linespoints title "2 GPGPUs", \
'< paste m1block512.txt m4block512.txt' using 1:(30000*$2/$4) with linespoints title "Speedup"
